package com.ciwong.epaper.widget;

import android.content.Context;
import android.graphics.Paint;
import android.support.annotation.Nullable;
import android.support.v7.widget.AppCompatTextView;
import android.util.AttributeSet;
import android.widget.TextView;

/**
 * Created by Administrator on 2018/5/30.
 */

public class TrapezoidalTextView extends AppCompatTextView {

    private Paint mBgPaint;
    private Paint mTextPaint;

    public TrapezoidalTextView(Context context) {
        this(context,null);
    }

    public TrapezoidalTextView(Context context, @Nullable AttributeSet attrs) {
        this(context, attrs,-1);
    }

    public TrapezoidalTextView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }
    /**
     * 初始化画笔
     */
    protected void initPaint() {

        /*mBgPaint = new Paint();
        mBgPaint.setAntiAlias(true);
        mBgPaint.setColor(mTextStrokeColor);
        mBgPaint.setStrokeWidth(mPathStrokeWidth);
        mBgPaint.setStyle(Paint.Style.STROKE);

        mTextPaint = new Paint();
        mTextPaint.setAntiAlias(true);
        mTextPaint.setColor(mPaintStrokeColor);
        mTextPaint.setStrokeWidth(mPaintStrokeWidth);
        mTextPaint.setStyle(Paint.Style.STROKE);*/
    }


}
